Health Cloud Medications System API - Implementation Template

(0 reviews)

Field mapping

Medication

FHIR Field NameSalesforce ObjectSalesforce Field NameNotes
Identifier.useIdentifierIdUsageTypeThe identifier information for a medication is represented as Identifier records that reference the medication record using their Identifier.ParentRecordId field.
Identifier.systemIdentifierSourceSystem
Identifier.valueIdentifierIdValue
Identifier.type.codingIdentifierIdTypeId
code.codingMedicationMedicationCodeId
code.textMedicationCodeSetBundle -> Name
statusMedicationStatusWhile FHIR defines medication.status as a code set bundle, the Salesforce implementation of Medication.Status is picklist.
manufacturerMedicationManufacturerId
form.codingMedicationMedicationFormId
amount.numerator.valueMedicationQuantityNumeratorSalesforce doesn’t support a native quantity data type, the medication.amount field is flattened into a set of numerator, denominator, and unit fields.
amount.numerator.unitUnitOfMeasureUnitCode
amount.denominator.valueMedicationQuantityDenominator
amount.denominator.unitUnitOfMeasureUnitCode

MedicationStatement

FHIR Field NameSalesforce ObjectSalesforce Field NameNotes
Identifier.useIdentifierIdUsageTypeThe identifier information for a medication statement is represented as Identifier records that reference the MedicationStatement record using their Identifier.ParentRecordId field.
Identifier.systemIdentifierSourceSystem
Identifier.valueIdentifierIdValue
Identifier.type.codingIdentifierIdTypeId
statusMedicationStatementStatusWhile FHIR defines MedicationStatement.status as a code set bundle, the Salesforce implementation of MedicationStatement.Status is picklist.
medicationCodeableConceptMedicationStatementMedicationCodeIdWhile the individual fields MedicationStatement.MedicationCodeId and MedicationStatement.MedicationId are zero-to-one references, the set {MedicationStatement.MedicationCodeId, MedicationStatement.MedicationId} is a one-to-one resource.
basedOnMedicationStatementMedicationRequestIdWhile FHIR defines medicationStatement.basedOn as a zero-to-many resource, the Salesforce implementation of MedicationStatement.MedicationRequestId is zero-to-one.
contextMedicationStatementClinicalEncounterId
subjectMedicationStatementPatientIdThe Salesforce implementation doesn’t support references to care plan or service request records.
effectiveDateTimeMedicationStatementStartDateTime
effectivePeriodMedicationStatementStartDateTime EndDateTimeBecause Salesforce doesn’t support a native period data type, the implementation of medicationStatement.effective.effectivePeriod is flattened into a set of start and end dates.
dateAssertedMedicationStatementAssertionDateTime

MedicationRequest

FHIR Field NameSalesforce ObjectSalesforce Field NameNotes
Identifier.useIdentifierIdUsageTypeThe identifier information for a medication request is represented as Identifier records that reference the MedicationRequest record using their Identifier.ParentRecordId field.
Identifier.systemIdentifierSourceSystem
Identifier.valueIdentifierIdValue
Identifier.type.codingIdentifierIdTypeId
statusMedicationRequestStatusWhile FHIR defines MedicationRequest.status as a code set bundle, the Salesforce implementation of MedicationRequest.Status is picklist.
statusReasonMedicationRequestStatusReasonCodeId
intentMedicationRequestTypeWhile FHIR defines MedicationRequest.intent as a code set bundle, the Salesforce implementation of MedicationRequest.Type is picklist.
medicationCodeableConceptMedicationRequestMedicationCodeId
medicationReferenceMedicationRequestMedicationId
subjectMedicationRequestPatientId
authoredOnMedicationRequestPrescribedDate
reasonCodeMedicationRequestReasonCodeId
reasonReferenceMedicationRequestReasonReferenceId
dosageInstructionPatientMedicationDosageThe dosage information for a medication request is represented as PatientMedicationDosage records that reference the MedicationRequest record using theirPatientMedicationDosage.ParentRecordId field.
dosageInstruction.sequencePatientMedicationDosageSequence
dosageInstruction.textPatientMedicationDosageComments
dosageInstruction.additionalInstruction.textPatientMedicationDosageAdditionalInstruction
dosageInstruction.patientInstructionPatientMedicationDosagePatientInstruction
dosageInstruction.asNeededBooleanPatientMedicationDosageIsAsNeeded
dosageInstruction.sitePatientMedicationDosageSiteId
dosageInstruction.routePatientMedicationDosageRouteId
dosageInstruction.methodPatientMedicationDosageMethodId
dosageInstruction.doseAndRate.type.coding.codePatientMedicationDosageDosageDefinitionType
If DosageQuantityType == 'Dose Range'
dosageInstruction.doseAndRate.doseRange.low.valuePatientMedicationDosageDosageQuantityNumerator
dosageInstruction.doseAndRate.doseRange.low.unitunitOfMeasureUnitCode
dosageInstruction.doseAndRate.doseRange.low.codeunitOfMeasureUnitCode
dosageInstruction.doseAndRate.doseRange.high.valuePatientMedicationDosageDosageQuantityDenominator
dosageInstruction.doseAndRate.doseRange.high.unitunitOfMeasureUnitCode
dosageInstruction.doseAndRate.doseRange.high.codeunitOfMeasureUnitCode
else
dosageInstruction.doseAndRate.doseQuantity.valuePatientMedicationDosageDosageQuantityNumerator
dosageInstruction.doseAndRate.doseQuantity.unitunitOfMeasureUnitCode
dosageInstruction.doseAndRate.doseQuantity.codeunitOfMeasureUnitCode
If DosageRateType == 'Frequency Range'
dosageInstruction.doseAndRate.rateRange.low.valuePatientMedicationDosageDosageRateNumerator
dosageInstruction.doseAndRate.rateRange.low.unitunitOfMeasureUnitCode
dosageInstruction.doseAndRate.rateRange.low.codeunitOfMeasureUnitCode
dosageInstruction.doseAndRate.rateRange.high.valuePatientMedicationDosageDosageRateDenominator
dosageInstruction.doseAndRate.rateRange.high.unitunitOfMeasureUnitCode
dosageInstruction.doseAndRate.rateRange.high.codeunitOfMeasureUnitCode
else if DosageRateType == 'Frequency Ratio')
dosageInstruction.doseAndRate.rateRatio.numerator.valuePatientMedicationDosageDosageRateNumerator
dosageInstruction.doseAndRate.rateRatio.numerator.codeunitOfMeasureUnitCode
dosageInstruction.doseAndRate.rateRatio.denominator.valuePatientMedicationDosageDosageRateDenominator
dosageInstruction.doseAndRate.rateRatio.denominator.valueunitOfMeasureUnitCode
else
dosageInstruction.doseAndRate.rateQuantity.valuePatientMedicationDosageDosageRateNumerator
dosageInstruction.doseAndRate.rateQuantity.unitunitOfMeasureUnitCode
dosageInstruction.doseAndRate.rateQuantity.codeunitOfMeasureUnitCode

Immunization

FHIR Field NameSalesforce ObjectSalesforce Field NameNotes
Identifier.useIdentifierIdUsageTypeThe identifier information for an immunization is represented as Identifier records that reference the PatientImmunization record using their Identifier.ParentRecordId field.
Identifier.systemIdentifierSourceSystem
Identifier.valueIdentifierIdValue
Identifier.type.codingIdentifierIdTypeId
statusImmunizationStatusWhile FHIR defines immunization.status as a code set bundle, the Salesforce implementation of PatientImmunization.Status is picklist.
statusReasonImmunizationStatusReasonCodeId
vaccineCodeImmunizationVaccineCodeId
patientImmunizationPatientId
encounterImmunizationClinicalEncounterId
occurrenceDateTimeImmunizationVaccinationDate
occurenceStringImmunizationVaccinationPeriod
recordedImmunizationRecordCreationDateTime
primarySourceImmunizationIsRecordedByVaccinator
reportOriginImmunizationInformationSourceId
locationImmunizationFacilityId
manufacturerImmunizationManufacturer
lotNumberImmunizationLotNumber
expirationDateImmunizationExpirationDate
siteImmunizationSiteId
routeImmunizationRouteId
doseQuantity.valueImmunizationDoseThe Salesforce equivalent of immunization.dose is represented used the fields PatientImmunization.Dose for the quantity and PatientImmunization.DoseUnitId for the unit.
doseQuantity.codeunitOfMeasureUnitCode
performer.functionCarePerformerParentsRoleIdThe performer information for an immunization is represented as CarePerformer records that reference the PatientImmunization record using their CarePerformer.ParentRecordId field.
performer.actorCarePerformerPersonId
reasonCodeImmunizationReasonCodeId
isSubpotentImmunizationIsSubpotent
subpotentReasonImmunizationSubpotencyReasonCodeId

Reviews

TypeTemplate
OrganizationMulesoft
Published by
MuleSoft Organization
Published onDec 14, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.5